<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="${rc.getContextPath()}/manage/personnel/personnelLookUp?lookupType=multi" onsubmit="return  dialogSearch(this);">
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label> <@label key='personnelCode.C,colon'>人员编号：</@label> </label> <input type="text" name="personnelCode" value="${condition.personnelCode!''}" /></li>
                <li><label> <@label key='personnelName.C,colon'>人员描述：</@label> </label> <input type="text" name="personnelName" value="${condition.personnelName!''}" /></li>
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div>
                </li>

            </ul>
        </div>
        <div class="selectTable">
            <table class="table border"  targetType="dialog" width="100%" layoutH="138">
                <thead>
                    <tr>
                        <th width="30"><input type="checkbox" class="checkboxCtrl" group="personnelGrpId" /></th>
                        <th width="100" orderField="personnelCode"<#if (page.orderField?? && page.orderField == 'personnelCode')>class="${page.orderDirection!''}"</#if>><@label key="personnelCode.C">人员编号</@label></th>
                        <th width="100" orderField="personnelName"<#if (page.orderField?? && page.orderField == 'personnelName')>class="${page.orderDirection!''}"</#if>><@label key="personnelName.C">人员名称</@label></th>
                        <th width="100" orderField="workCenterCode"<#if (page.orderField?? && page.orderField == 'workCenterCode')>class="${page.orderDirection!''}"</#if>><@label key="workCenter.C">工作中心</@label></th>
                    </tr>
                </thead>
                <tbody>
                    <#if page??><#if (page.data?size>0)> <#list page.data as personnel>
                    <tr target="personnel_code" rel="${personnel.personnelCode!''}">
                        <td><input type="checkbox" name="personnelGrpId" value="{personnelCode:'<@json_escape>${personnel.personnelCode!''}</@json_escape>', personnelName:'<@json_escape>${personnel.personnelName!''}</@json_escape>',workCenterCode:'<@json_escape>${personnel.workCenterCode!''}</@json_escape>' }" ></td>
                        <td>${personnel.personnelCode!''}</td>
                        <td>${personnel.personnelName!''}</td>
                        <td>${personnel.workCenterCode!''}</td>
                        </td>
                    </tr>
                    </#list> <#else>
                    <tr>
                        <td class="noData">======<@label key="noListData.C">列表无数据</@label>=====</font></td>
                    </tr>
                    </#if> <#else>
                    <tr>
                        <td class="noData">======<@label key="noListData.C">列表无数据</@label>=====</font></td>
                    </tr>
                    </#if>
                </tbody>
            </table>
            <#include "/common/dialogPanelBar.html">
            <div class="formBar">
                    <ul>
                        <li><div class="buttonActive"><div class="buttonContent"><button type="button" multLookup="personnelGrpId" warn="请选择人员">确定</button></div></div></li>
                        <li>
                        <div class="buttonActiveGrey" >
                                    <div class="buttonContent" >
                                        <button class="close" type="button"><@label key="close.B">关闭</@label></button>
                                    </div>
                                </div>
                        </li>
                    
                    </ul>
            </div>
        </div>
    </div>
</form>